package com.zhangyujun.bysj.manager;

import com.zhangyujun.bysj.common.log.annotation.EnableLogAspect;
import com.zhangyujun.bysj.manager.properties.MinioProperties;
import com.zhangyujun.bysj.manager.properties.UserProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Slf4j
@ComponentScan(basePackages = {"com.zhangyujun.bysj"})
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
@EnableScheduling
@EnableLogAspect
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }

}
